<script setup>
import ModelObj3DScene from "@/components/ModelObj3DScene/ModelObj3DScene.vue";
import {ref,defineProps} from "vue"
import { useRoute } from 'vue-router'
const route = useRoute()
const objUrl = ref(route.query.objUrl);
const mtlUrl = ref(route.query.mtlUrl);


console.log('接收到的数据:', objUrl.value, objUrl.value);

</script>

<template>
  <div>
<!--    模型展示-->
<!--    {{objUrl}}-->
<!--    <br/>-->
<!--    {{mtlUrl}}-->
    <ModelObj3DScene :modelUrl="objUrl" :mtlUrl="mtlUrl"/>
  </div>
</template>

<style scoped>

</style>
